package tech.topcoder.springcloud.simpleservice.dao;

import java.util.List;
import tech.topcoder.springcloud.simpleservice.bean.Demo;
import tech.topcoder.springcloud.simpleservice.bean.DemoExample;

public interface DemoDao {
    long countByExample(DemoExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Demo record);

    int insertSelective(Demo record);

    List<Demo> selectByExampleWithBLOBs(DemoExample example);

    List<Demo> selectByExample(DemoExample example);

    Demo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Demo record);

    int updateByPrimaryKeyWithBLOBs(Demo record);

    int updateByPrimaryKey(Demo record);
}